home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / INSTALL.DAT < prev    next >
Text File  |  2002-03-26  |  19KB  |  632 lines

  1. //***********************************************************************************
  2. // Required @DefineProject block:
  3. @DefineProject
  4.     @Name = "TransEra HTBasic MakeDisk Utility"
  5.     @Version = "6.0"
  6.     @OutDrive = C
  7.     @Subdir = "\\"
  8.     @ShowName(1, "Creating TransEra HTBasic Disks", "Times", 2, 20, (@WinScreenCaps(10) - 100), @RGB(0, 0, 255))
  9.     @Immediate = @TRUE
  10. @EndProject
  11.  
  12.  
  13. //***********************************************************************************
  14. // Prototypes of Functions:
  15. @DefineProto
  16.     @Void @Center(@In @Int @Row, @In @Int @Color, @In @Qstr @Text)
  17.     @VOID @PleaseWait(@Void)
  18.     @VOID @WaitCopying(@Void)
  19.     @Void @PutWelcomeBanner(@Void)
  20.     @Void @GetDestDrive(@Void)
  21.     @Void @GetVersion(@Void)
  22.     @Void @GetVersionPlus(@Void)
  23.     @Void @ConfirmPriorToCopy(@Void)
  24.     @Integer @CheckDisk(@In @Drive @CheckDrive)
  25.     @Void @AskForFloppy(@In @QString @DiskLabel)
  26.     @INT @PutYESNO(@IN @QSTR @MSGTitle, @IN @QSTR @Message, @In @QStr @YesText, @In @QStr @NoText)
  27. @EndProto
  28.  
  29.  
  30. //***********************************************************************************
  31. // Variables:
  32. @DefineVars
  33. //  MakeDisk Vars
  34.     @QString @QuotesDisp        = "\""
  35.     @Integer @WIN60             = @TRUE
  36.     @Integer @DOS60             = @FALSE
  37.     @Integer @DOS44             = @FALSE
  38.     @QString @OtherVersion      = ""
  39.     @Integer @Button100         = 0
  40.     @Integer @Button110         = 0
  41.     @Integer @Button120         = 0
  42.     @Integer @Button130         = 0
  43.     @QString @OtherDrive        = "A"
  44.     @Integer @ProcessCode       = 0
  45.     @Integer @DOS               = 1
  46.     @Integer @OS2               = 2
  47.     @Integer @WIN               = 3
  48.     @Integer @SettingsCounter   = 0
  49.  
  50. @EndVars
  51.  
  52.  
  53. //***********************************************************************************
  54. // @Center function:
  55. @DefineFunc @Void @Center(@In @Int @Row,
  56.     @In @Int @Color, @In @Qstr @Text)
  57.     @MoveCStr(@Row, ((78 - @StrLen("@Text")) / 2), @Color, "@Text")
  58.     @Return()
  59. @EndFunc // @Center
  60.  
  61.  
  62. //***********************************************************************************
  63. // @PleaseWait function:
  64. @DefineFunc @Void @PleaseWait(@Void)
  65.     @If (@Platform < 3)
  66.         @Center(4, 151, "Please wait, processing ...")
  67.     @EndIf
  68.     @Return()
  69. @EndFunc // @PleaseWait()
  70.  
  71.  
  72. //***********************************************************************************
  73. // @WaitCopying function:
  74. @DefineFunc @Void @WaitCopying(@Void)
  75.     @If (@Platform < 3)
  76.         @Center(4, 151, "Please wait, Copying Files ...")
  77.     @EndIf
  78.     @Return()
  79. @EndFunc // @WaitCopying()
  80.  
  81.  
  82. //***********************************************************************************
  83. // @PutWelcomeBanner:
  84. @DefineFunc @Void @PutWelcomeBanner(@Void)
  85. @If(@Platform < @Win) @Display @Cls @EndDisplay   // If DOS
  86.     @Display
  87.     Welcome to the @Name Program.  This
  88.     program will Create HTBasic Legacy installion diskettes.
  89.  
  90.     You will need two 1.44 MB 3.5@QuotesDisp formatted diskettes.
  91.     If you need to prepare diskettes at this time,
  92.     press [Esc] to abort, or any other key to continue.
  93.  
  94.  
  95.     @Pause
  96.     @EndDisplay
  97.     @ProcessCode = 1
  98. @Else  // @Platform Windows
  99.     @Button110 = 0
  100.     @Button120 = 0
  101.     @BeginWinDialog("Welcome","TransEra HTBasic MakeDisk Utility")
  102.         @StaticText(300,"\nWelcome to the @Name Program.  This program will Create HTBasic Legacy installion diskettes.\n\n\nTwo 1.44 MB 3.5\" formatted diskettes will be required to complete the MakeDisk Utility.\n\n\nClick Cancel to quit the Utility and then prepare the diskettes.  Click Next to continue with the MakeDisk Utility program.")
  103.         @Button(110, "&Next>")
  104.         @Button(120, "&Cancel")
  105.         @Bitmap(200, "Welcome")
  106.     @ExecuteDialog
  107.         @Button110 = @Button(110)
  108.         @Button120 = @Button(120)
  109.     @Endwindialog
  110.     @If(@Button110)
  111.         @ProcessCode = 1
  112.     @Else
  113.         @ProcessCode = 99
  114.     @EndIf
  115. @EndIf // windows
  116. @Return()
  117. @EndFunc // PutWelcomeBanner
  118.  
  119.  
  120. //***********************************************************************************
  121. // @GetDestDrive:
  122. @DefineFunc @Void @GetDestDrive(@Void)
  123. @If(@Platform < @WIN)
  124.  
  125. WRONGDRIVE:
  126.  
  127.     @GetString @OtherDrive @CLS
  128.         @Prompt = "Enter drive letter (A or B):"
  129.  
  130.     Please enter the drive letter for the 3.5@QuotesDisp
  131.     1.44 MB floppy drive where you would like
  132.     to create the HTBasic Installation diskettes.
  133.  
  134.         @LocalWindow(9,30)
  135.     @EndString
  136.     @If(("@OtherDrive" == "A") ||
  137.         ("@OtherDrive" == "B"))
  138.         @ProcessCode = 4
  139.         @OutDrive = @StrIndex("@OtherDrive",0)
  140.     @Else
  141.         @GOTO WRONGDRIVE
  142.     @EndIf
  143.  
  144. /*
  145.         @GetOutDrive @OtherDrive @Cls
  146.             @Center(1, 0b01111001, "Select Output Drive")
  147.             @LocalWindow(8, 30)
  148.     Please select the 1.44 MB floppy drive where you would
  149.     like to create the HTBasic Installation diskettes.
  150.  
  151.  
  152.  
  153.  
  154.     Press Esc to Abort.
  155.  
  156.             @Suppress(0, 2) // suppress non-removable drives
  157.             @Suppress(0, 16) // suppress cdrom drives
  158.         @EndOutDrive
  159. */
  160. @Else // windows
  161.             @GetOutDrive
  162.                 @DlgCtrlSize(0,6,5,9,32)
  163.     Please select the 1.44 MB floppy drive
  164.     where you would like to create
  165.     the HTBasic Installation diskettes.
  166.  
  167.                 @Suppress(0, 2) // suppress non-removable drives
  168.                 @Suppress(0, 16) // suppress cdrom drives
  169.             @EndOutDrive
  170.  
  171. @EndIf // Platform
  172.     @ProcessCode = 4
  173.     @Return()
  174. @EndFunc // GetDestDrive
  175.  
  176.  
  177. //***********************************************************************************
  178. // @GetVersion:
  179. @DefineFunc @Void @GetVersion(@Void)
  180.  
  181. @If(@Platform < @Win)
  182.     @ClearOption(100)
  183.     @ClearOption(120)
  184.     @ClearOption(121)
  185.     @ClearOption(122)
  186.  
  187.         @GetOption @Cls
  188.             @Center(1, 0b01111001, "Select Version")
  189.             @LocalWindow(12,40)
  190.  
  191.     Please choose the version of HTBasic
  192.     for which you would like to Make
  193.     Installation disks.
  194.  
  195.             @Option 100 = "HTBasic for Windows 6.1"
  196.             @Option 120 = "HTBasic for DOS 6.0"
  197.             @Option 121 = "Other"
  198.             @Option 122 = "Abort"
  199.         @EndOption
  200.     @If(@OptionIsSet(100))
  201.         @WIN60 = @TRUE
  202.         @DOS60 = @FALSE
  203.         @DOS44 = @FALSE
  204.         @ProcessCode = 3
  205.         @Return()
  206.     @ElseIf(@OptionIsSet(120))
  207.         @WIN60 = @FALSE
  208.         @DOS60 = @TRUE
  209.         @DOS44 = @FALSE
  210.         @ProcessCode = 3
  211.         @Return()
  212.     @ElseIf(@OptionIsSet(121))
  213.         @WIN60 = @FALSE
  214.         @DOS60 = @FALSE
  215.         @DOS44 = @FALSE
  216.         @ProcessCode = 2
  217.         @Return()
  218.     @Else
  219.         @ProcessCode = 99
  220.         @Return()
  221.     @EndIf
  222. @Else  // Windows
  223.     @Button100 = 0
  224.     @Button110 = 0
  225.     @Button120 = 0
  226.     @Button130 = 0
  227.     @BeginWinDialog("MAKEDISK", "Select Version")
  228.       @Button(100, "<&Back")
  229.       @Button(110, "&Next>")
  230.       @Button(120, "&Cancel")
  231.       @Button(200)
  232.       @Bitmap(200, "Welcome")
  233.       @RBRange(1000,1001)
  234.       @RB(1000, "HTBasic for &Windows 6.1", @WIN60)
  235.       @RB(1001, "HTBasic for &DOS 6.0", @DOS60)
  236.     @ExecuteDialog
  237.       @Button100 = @Button(100)
  238.       @Button110 = @Button(110)
  239.       @Button120 = @Button(120)
  240.       @Button130 = @Button(200)
  241.  
  242.         @WIN60 = @RB(1000)
  243.         @DOS60 = @RB(1001)
  244.  
  245.         @IF(@WIN60)
  246.             @DOS60 = @FALSE
  247.             @DOS44 = @FALSE
  248.         @Else
  249.             @WIN60 = @FALSE
  250.             @DOS44 = @FALSE
  251.         @EndIf
  252.     @Endwindialog
  253.     @If(@Button100)         // Back
  254.       @ProcessCode = 0
  255.     @ElseIf(@Button110)     // Next
  256.       @ProcessCode = 3
  257.     @ElseIf(@Button130)     // Graphic
  258.       @ProcessCode = 2
  259.     @Else                   // Cancel
  260.       @ProcessCode = 99
  261.     @EndIf
  262. @EndIf
  263. @Return()
  264. @EndFunc // GetVersion
  265.  
  266.  
  267. //***********************************************************************************
  268. // @GetVersionPlus:
  269. @DefineFunc @Void @GetVersionPlus(@Void)
  270.  
  271. @If(@Platform < @Win)
  272.             @GetString @OtherVersion
  273.  
  274.   Please call HTBasic Technical Support
  275.   for the MakeDisk code to enter below.
  276.  
  277.                 @LocalWindow(9,30)
  278.                 @Prompt = "Enter MakeDisk Code:"
  279.             @EndString
  280.         @If("@OtherVersion" == "44")
  281.             @WIN60 = @FALSE
  282.             @DOS60 = @FALSE
  283.             @DOS44 = @TRUE
  284.             @ProcessCode = 3
  285.         @Else
  286.             @ProcessCode = 1
  287.         @EndIf
  288. @Else  // Windows
  289.     @Button100 = 0
  290.     @Button110 = 0
  291.     @Button120 = 0
  292.     @BeginWinDialog("MAKEDISK_PLUS", "Select Version")
  293.         @Button(100, "<&Back")
  294.         @Button(110, "&Next>")
  295.         @Button(120, "&Cancel")
  296.         @Bitmap(200, "Welcome")
  297.         @EditBox(410, "")
  298.     @ExecuteDialog
  299.         @Button100 = @Button(100)
  300.         @Button110 = @Button(110)
  301.         @Button120 = @Button(120)
  302.         @OtherVersion = "@EditBox(410)"
  303.     @Endwindialog
  304.  
  305.     @If(@Button100)         // Back
  306.         @ProcessCode = 1
  307.     @ElseIf(@Button110)     // Next
  308.         @If("@OtherVersion" == "44")
  309.             @WIN60 = @FALSE
  310.             @DOS60 = @FALSE
  311.             @DOS44 = @TRUE
  312.             @ProcessCode = 3
  313.         @Else
  314.             @ProcessCode = 1
  315.         @EndIf
  316.     @Else                   // Cancel
  317.       @ProcessCode = 99
  318.     @EndIf
  319. @EndIf // Platform
  320. @Return()
  321. @EndFunc // GetVersionPlus
  322.  
  323.  
  324. //***********************************************************************************
  325. // @PutYESNO:
  326. @DefineFunc @INT @PutYESNO(
  327.     @IN @QSTR @MSGTitle,
  328.     @IN @QSTR @Message,
  329.     @IN @QStr @YesText,
  330.     @IN @QStr @NoText)
  331.  
  332.     @ClearOption(100)
  333.     @ClearOption(120)
  334.     @ClearOption(121)
  335.  
  336.     @GetOption @Cls
  337.         @Center(1, 0b01111001, "@MsgTitle")
  338.         @LocalWindow(14,40)
  339. @Message
  340.         @Option 100 = "@YesText"
  341.         @If(@StrLen("@NoText") > 0) @Option 120 = "@NoText" @EndIf
  342.         @Option 121 = "Abort"
  343.     @EndOption
  344.     @If(@OptionIsSet(100))
  345.         @Return(1)
  346.     @ElseIf(@OptionIsSet(120))
  347.         @Return(0)
  348.     @Else
  349.         @Exit
  350.     @EndIf
  351. @Return(0)
  352. @EndFunc // PutYESNO
  353.  
  354.  
  355. //***********************************************************************************
  356. // @ConfirmPriorToCopy
  357. @DefineFunc @Void @ConfirmPriorToCopy(@Void)
  358. @if(@Platform < @Win)
  359.     @If(@PutYESNO("Ready To Create Diskettes", "\n\tThe MakeDisk Utility has enough information to start\n\tcreating the install diskettes.\n\n\tIf you want to review or change any settings, select Review.\n\tIf you are satisfied with the settings, Select Copy Files\n\tto begin creating diskettes.", "Copy Files", "Review") !=1)
  360.         @PROCESSCODE = 1
  361.         @Return()
  362.     @EndIf
  363.     @ProcessCode = 100
  364. @Else  //Windows
  365.     @SettingsCounter = 303
  366.     @Button100 = 0
  367.     @Button110 = 0
  368.     @Button120 = 0
  369.     @BeginWinDialog("CONFIRM_COPY", "Confirm Information Prior to Copy")
  370.         @Button(100, "<&Back")
  371.         @Button(110, "&Next>")
  372.         @Button(120, "&Cancel")
  373.         @Bitmap(200, "welcome")
  374.         @StaticText(300, "The MakeDisk Utility has enough information to start creating the install diskettes.  If you want to review or change any settings, click Back.  If you are satisfied with the settings, click Next to begin creating diskettes.")
  375.         @StaticText(302, "@Name version:")
  376.         @If(@WIN60)
  377.             @StaticText(@SettingsCounter, "TransEra HTBasic for Windows release 6.0")
  378.             @SettingsCounter = (@SettingsCounter + 1)
  379.         @EndIf
  380.         @If(@DOS60)
  381.             @StaticText(@SettingsCounter, "TransEra HTBasic for DOS release 6.0")
  382.             @SettingsCounter = (@SettingsCounter + 1)
  383.         @EndIf
  384.         @If(@DOS44)
  385.             @StaticText(@SettingsCounter, "TransEra HTBasic for DOS release 4.4")
  386.             @SettingsCounter = (@SettingsCounter + 1)
  387.         @EndIf
  388.         @StaticText(308, "Target Drive:")
  389.         @StaticText(309, "@OutDrive:")
  390.         @StaticText(310, "")
  391.         @StaticText(311, "")
  392.     @executeDialog
  393.         @Button100 = @Button(100)
  394.         @Button110 = @Button(110)
  395.         @Button120 = @Button(120)
  396.     @endwindialog
  397.     @If(@Button100)
  398.         @ProcessCode = 1
  399.     @ElseIf(@Button110)
  400.         @ProcessCode = 100
  401.     @Else
  402.         @ProcessCode = 99
  403.     @EndIf
  404. @EndIf  // Platform
  405. @Return()
  406. @EndFunc // ConfirmPriorToCopy
  407.  
  408.  
  409. //***********************************************************************************
  410. // @CheckDisk
  411. @DefineFunc @Integer @CheckDisk(@In @Drive @CheckDrive)
  412.     @If((@DiskSize(@CheckDrive) == 0) ||                         // Not inserted (or)
  413.         (@DiskSize(@CheckDrive) != @DiskFree(@CheckDrive)))      // Not blank
  414.         @PROCESSCODE = 100
  415.         @Return(0)
  416.     @EndIf
  417.  
  418.     @If((@DiskSize(@CheckDrive) < 1440000)      // Not a 1.44MB drive
  419.         @Button110 = 0
  420.         @Button120 = 0
  421.         @BeginWinDialog("ALERT_BOX_TWO_BUTTON","Severe")
  422.             @StaticText(114,"The drive selected \(@CheckDrive: Drive\) is not a 1.44MB Drive.  Please select another drive.")
  423.             @Button(110, "&OK")
  424.             @Button(111, "&Cancel")
  425. //          @Icon(113, "THREEHAL.ICO")
  426.         @ExecuteDialog
  427.             @Button110 = @Button(110)
  428.             @Button120 = @Button(111)
  429.         @Endwindialog
  430.         @If(@Button110)
  431.             @PROCESSCODE = 3
  432.             @Return(0)
  433.         @EndIf
  434.     @EndIf
  435.  
  436.     @Return(1)
  437. @EndFunc // CheckDisk
  438.  
  439.  
  440. //***********************************************************************************
  441. // @AskForFloppy
  442. @DefineFunc @Void @AskForFloppy(@In @QString @DiskLabel)
  443. @if(@Platform < @Win)
  444.     @Display @CLS
  445.     Please place a 3.5@QuotesDisp 1.44MB
  446.     formatted disk in drive @OutDrive:
  447.     and label it
  448.  
  449.        @QuotesDisp@DiskLabel@QuotesDisp
  450.  
  451.  
  452.  
  453.     @Pause
  454.     @EndDisplay
  455. @Else  // Windows
  456.     @DiskFree(@OutDrive)
  457.     @Button100 = 0
  458.     @Button110 = 0
  459.     @BeginWinDialog("MESSAGE", "Insert Diskette")
  460.         @Button(100, "&OK")
  461.         @Button(110, "&Cancel")
  462.         @StaticText(300, "\nPlease place a blank, 3.5\" 1.44MB formatted disk in drive @OutDrive: and label it \n\n\n  \"@DiskLabel\"")
  463.     @ExecuteDialog
  464.         @Button100 = @Button(100)
  465.         @Button110 = @Button(110)
  466.     @EndWinDialog
  467.     @If(@Button100)
  468.         @Return()
  469.     @Else
  470.         @Abort
  471.     @EndIf
  472. @EndIf  // Platform
  473. @Return()
  474. @EndFunc // AskForFloppy
  475.  
  476.  
  477. //***********************************************************************************
  478. // Main Script
  479. @PleaseWait()
  480.  
  481.  
  482. //***********************************************************************************
  483. // PROCESSLOOP:
  484. PROCESSLOOP:
  485. @If(@PROCESSCODE == 0)
  486.     @PutWelcomeBanner()
  487.     @PleaseWait()
  488. @ElseIf(@PROCESSCODE == 1)
  489.     @GetVersion()
  490.     @PleaseWait()
  491. @ElseIf(@PROCESSCODE == 2)
  492.     @GetVersionPlus()
  493.     @PleaseWait()
  494. @ElseIf(@PROCESSCODE == 3)
  495.     @GetDestDrive()
  496.     @PleaseWait()
  497. @ElseIf(@PROCESSCODE == 4)
  498.     @ConfirmPriorToCopy()
  499.     @PleaseWait()
  500. @ElseIf(@PROCESSCODE == 99)
  501.    @Abort
  502. @EndIf
  503.  
  504. @If(@ProcessCode < 100)
  505.     @GOTO PROCESSLOOP
  506. @EndIf
  507. // end-of-PROCESSLOOP:
  508.  
  509. @SetCursor("HOURGLASS")
  510.  
  511. @If(@DOS60)
  512.     @AskForFloppy("HTBasic for DOS Disk 1")
  513.     @If(!@CheckDisk(@OutDrive))
  514.         @GOTO PROCESSLOOP
  515.     @EndIf
  516.  
  517.     @ShowBmp(0,60,30,"copy.bmp",2)
  518.     @WaitCopying()
  519.  
  520.     @Copy("floppy\\60dos\\disk1\\disk.id", "@OutDrive:\\*.*")
  521.     @Copy("floppy\\60dos\\disk1\\install.dat", "@OutDrive:\\*.*")
  522.     @Copy("floppy\\60dos\\disk1\\funcs.dat", "@OutDrive:\\*.*")
  523.     @Copy("floppy\\60dos\\disk1\\events.dat", "@OutDrive:\\*.*")
  524.     @Copy("floppy\\60dos\\disk1\\uifuncs.dat", "@OutDrive:\\*.*")
  525.     @Copy("floppy\\60dos\\disk1\\install.exe", "@OutDrive:\\*.*")
  526.     @Copy("floppy\\60dos\\disk1\\cpx.red", "@OutDrive:\\*.*")
  527.     @Copy("floppy\\60dos\\disk1\\drivers.red", "@OutDrive:\\*.*")
  528.  
  529.     @EraseBmp(0)
  530.  
  531. AGAIN_DOS60:
  532.     @AskForFloppy("HTBasic for DOS Disk 2")
  533.     @If(!@CheckDisk(@OutDrive))
  534.         @GOTO AGAIN_DOS60
  535.     @EndIf
  536.  
  537.     @ShowBmp(0,60,30,"copy.bmp",2)
  538.     @WaitCopying()
  539.  
  540.     @Copy("floppy\\60dos\\disk2\\disk.id", "@OutDrive:\\*.*")
  541.     @Copy("floppy\\60dos\\disk2\\install.dat", "@OutDrive:\\*.*")
  542.     @Copy("floppy\\60dos\\disk2\\lexical.red", "@OutDrive:\\*.*")
  543.     @Copy("floppy\\60dos\\disk2\\nocpx.red", "@OutDrive:\\*.*")
  544.     @Copy("floppy\\60dos\\disk2\\progdrv.red", "@OutDrive:\\*.*")
  545.     @Copy("floppy\\60dos\\disk2\\htscope.red", "@OutDrive:\\*.*")
  546.     @Copy("floppy\\60dos\\disk2\\example.red", "@OutDrive:\\*.*")
  547.  
  548.     @EraseBmp(0)
  549.  
  550. @ElseIf(@WIN60)
  551.     @AskForFloppy("HTBasic for Windows Disk 1")
  552.     @If(!@CheckDisk(@OutDrive))
  553.         @GOTO PROCESSLOOP
  554.     @EndIf
  555.  
  556.     @ShowBmp(0,60,30,"copy.bmp",2)
  557.     @WaitCopying()
  558.     @Copy("floppy\\61win\\disk1\\*.*", "@OutDrive:\\*.*")
  559.     @EraseBmp(0)
  560.  
  561. AGAIN_D2_WIN60:
  562.     @AskForFloppy("HTBasic for Windows Disk 2")
  563.     @If(!@CheckDisk(@OutDrive))
  564.         @GOTO AGAIN_D2_WIN60
  565.     @EndIf
  566.  
  567.     @ShowBmp(0,60,30,"copy.bmp",2)
  568.     @WaitCopying()
  569.     @Copy("floppy\\61win\\disk2\\*.*", "@OutDrive:\\*.*")
  570.     @EraseBmp(0)
  571.  
  572. AGAIN_D3_WIN60:
  573.     @AskForFloppy("HTBasic for Windows Disk 3")
  574.     @If(!@CheckDisk(@OutDrive))
  575.         @GOTO AGAIN_D3_WIN60
  576.     @EndIf
  577.  
  578.     @ShowBmp(0,60,30,"copy.bmp",2)
  579.     @WaitCopying()
  580.     @Copy("floppy\\61win\\disk3\\*.*", "@OutDrive:\\*.*")
  581.     @EraseBmp(0)
  582.  
  583. @ElseIf(@DOS44)
  584.     @AskForFloppy("HTBasic for DOS 4.4 Disk 1")
  585.     @If(!@CheckDisk(@OutDrive))
  586.         @GOTO PROCESSLOOP
  587.     @EndIf
  588.  
  589.     @ShowBmp(0,60,30,"copy.bmp",2)
  590.     @WaitCopying()
  591.     @Copy("floppy\\44dos\\disk1\\*.*", "@OutDrive:\\*.*")
  592.     @EraseBmp(0)
  593.  
  594. AGAIN_D2_DOS44:
  595.     @AskForFloppy("HTBasic for DOS 4.4 Disk 2")
  596.     @If(!@CheckDisk(@OutDrive))
  597.         @GOTO AGAIN_D2_DOS44
  598.     @EndIf
  599.  
  600.     @ShowBmp(0,60,30,"copy.bmp",2)
  601.     @WaitCopying()
  602.     @Copy("floppy\\44dos\\disk2\\*.*", "@OutDrive:\\*.*")
  603.     @EraseBmp(0)
  604. @EndIf
  605.  
  606. @SetCursor("ARROW")
  607.  
  608. //*******************************************************************************************
  609. @If(@Platform < @Win)
  610.     @Display
  611.     @Cls
  612.  
  613.     The diskette creation was successfully completed.
  614.  
  615.     @Pause
  616.     @Exit
  617.     @EndDisplay
  618. @Else  // If Windows
  619.         @Button100 = 0
  620.         @Button110 = 0
  621.         @BeginWinDialog("FINISH_WINDOWS","Installation Complete")
  622.             @Button(110, "&OK")
  623.             @EditBox(300, "@OutDrive:\\@Subdir")
  624.         @executeDialog
  625.             @Button110 = @Button(110)
  626.         @endwindialog
  627.         @Exit
  628.     @EndIf // INIChanged
  629. @EndIf  // Platform
  630.  
  631. // end-of-file
  632.